package com.gwtserializer.dispatch.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation to generate CustomFieldSerializer classes with specific
 * serialization requirements may take advantage of custom field serializers.
 * <p/>
 * If you type:
 * 
 * <pre>
 * <code>
 * {@literal}@GenSerializer
 * public class LineItem {
 *   Key&lt;Product&gt; productKey;
 *   int quantity;
 * }
 * </code> 
 * </pre>
 * 
 * 
 * @author Fredy Tuco
 */ 

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface GenSerializer {

}
